<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="https://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title>修改密码 - Powered By ${systemConfig.systemName}</title>  <link rel="icon" href="/template/pc1/images/wmh_favicon.ico" type="image/x-icon" />
    <meta name="Author" content="Meida Team" />
    <meta name="Copyright" content="Meida" />
    <link rel="icon" href="/template/pc1/images/wmh_favicon.ico" type="image/x-icon" />
    <% include("include.html"){}%>
    <link href="/template/pc1/css/login.css" rel="stylesheet" type="text/css" />
    <link href="/template/pc1/css/register.css" rel="stylesheet" type="text/css" />
    <link href="/template/pc1/css/member_center.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="/template/pc1/js/login.js"></script>
    <script type="text/javascript" src="/template/pc1/js/register.js"></script>
</head>
<body class="memberCenter">
<%include("header_index_sys.html"){}%>
<div class="body passwordInput">
    <div class="bodyLeft">
        <div class="memberInfo">
            <div class="top"></div>
            <div class="middle">
                <p>欢迎您！<span class="username">${loginMember.username}</span> [<a class="userLogout" href="/memberCenter/logout">退出</a>]</p>
                <p>会员等级:<span class="red"> ${loginMember.memberRank.name!}</span></p>
            </div>
            <div class="bottom"></div>
        </div>
        <div class="blank"></div>
        <!-- 侧边栏 -->
        <%include("sidebar_customer.html"){}%>
    </div>
    <div class="bodyRight">
        <div class="memberCenterDetail">
            <div class="top">
                修改密码
            </div>
            <div class="middle">
                <div class="blank"></div>
                <form id="inputForm" class="validate" action="/b/pc/password/update" method="post">
                    <input type="hidden" name="member.id" value="${member.id}"/>
                    <ul class="tab" style="display: none">
                        <li>
                            <input type="button" value="修改密码" hidefocus="true" />
                        </li>
                        <li>
                            <input type="button" value="安全问题" hidefocus="true" />
                        </li>
                    </ul>
                    <table class="inputTable tabContent">
                        <tr>
                            <th>
                                旧密码:
                            </th>
                            <td>
                                <input type="password" name="oldPassword" class="formText" />
                            </td>
                        </tr>
                        <tr>
                            <th>
                                新密码:
                            </th>
                            <td>
                                <input type="password" id="password" name="member.password" class="formText" />
                            </td>
                        </tr>
                        <tr>
                            <th>
                                确认新密码:
                            </th>
                            <td>
                                <input type="password" name="rePassword"  class="formText" />
                            </td>
                        </tr>
                        <tr>
                            <th>
                                &nbsp;
                            </th>
                            <td>
                                <span class="warnInfo"><span class="icon">&nbsp;</span>系统提示：若密码留空，则保持不变</span>
                            </td>
                        </tr>
                        <tr>
                            <th>
                                &nbsp;
                            </th>
                            <td>
                                <input type="submit" class="submitButton" value="提 交" hidefocus="true" />
                            </td>
                        </tr>
                    </table>
                    <table class="inputTable tabContent">
                        <tr>
                            <th>
                                安全问题:
                            </th>
                            <td>
                                <input type="text" id="safeQuestion" name="member.safeQuestion" class="formText {requiredTo: '#safeAnswer', messages: {requiredTo: '请输入安全问题!'}}" />
                            </td>
                        </tr>
                        <tr>
                            <th>
                                回答:
                            </th>
                            <td>
                                <input type="text" id="safeAnswer" name="member.safeAnswer" class="formText {requiredTo: '#safeQuestion', messages: {requiredTo: '请输入回答!'}}" />
                            </td>
                        </tr>
                        <tr>
                            <th>
                                &nbsp;
                            </th>
                            <td>
                                <span class="warnInfo"><span class="icon">&nbsp;</span>系统提示：若安全问题留空，则保持不变</span>
                            </td>
                        </tr>
                        <tr>
                            <th>
                                &nbsp;
                            </th>
                            <td>
                                <input type="submit" class="submitButton" value="提 交" hidefocus="true" />
                            </td>
                        </tr>
                    </table>
                </form>
                <div class="blank"></div>
            </div>
            <div class="bottom"></div>
        </div>
    </div>
    <div class="blank"></div>
</div>
<div class="blank"></div>
<%include("footer.html"){}%>
</body>
</html>